<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8"/>
    <title>客户端首页</title>
    <script src="/js/jquery-3.4.1.js"></script>
</head>
<body>
<h1>AUthClient</h1>
<button type="button" onclick="getUserInfo()">获取用户信息</button>
<script>
function getUserInfo() {
    $.ajax({
        url:"http://localhost:18091/client/getUserInfo",
        type:"POST",
        success:function (result) {
            alert(result);
        }
    });
}
</script>
</body>
</html>